package com.ruoyi.qywx.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

import javax.annotation.Resource;

/**
 * @author : hcl
 * @Date : 2023/8/11 14:33
 */
@Builder
@Getter
@Setter
@TableName("qy_contact_tag")
public class ContactTag {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField(updateStrategy = FieldStrategy.NEVER)
    private Long teamId;
    @TableField(updateStrategy = FieldStrategy.NEVER)
    private Long groupId;
    @TableField(updateStrategy = FieldStrategy.NEVER)
    private int type;
    @TableField(updateStrategy = FieldStrategy.NEVER)
    private String wxId;
    private String name;

    ContactTag() {
    }

    ContactTag(Long id, Long teamId, Long groupId, int type, String wxId, String name) {
        this.id = id;
        this.teamId = teamId;
        this.groupId = groupId;
        this.type = type;
        this.wxId = wxId;
        this.name = name;
    }
}
